package com.ouc.service.impl;

import com.ouc.entity.OrderItem;
import com.ouc.mapper.OrderItemMapper;
import com.ouc.service.OrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.ServiceMode;
import java.util.List;

/**
 * @Name: OrderItemServiceImpl
 * @Description:
 * @Author: Mr.Tong
 */
@Service
public class OrderItemServiceImpl implements OrderItemService {

    @Autowired
    private OrderItemMapper orderItemMapper;

    @Override
    public Boolean insert(List<OrderItem> orderItems) {
        return orderItemMapper.insert(orderItems);
    }
}
